package com.example.aigc_education.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.aigc_education.domain.DaysMatter;
import com.example.aigc_education.domain.vo.DaysMatterVO;

import java.util.List;

/**
 * @description 针对表【days_matter】的数据库操作Service
 */
public interface DaysMatterService extends IService<DaysMatter> {
    DaysMatter addDaysMatter(DaysMatter daysMatter);

    List<DaysMatterVO> daysMatterList();

    DaysMatter updateDaysMatter(DaysMatter daysMatter);

    void deleteDaysMatter(Long daysMatterId);

    DaysMatter selectDaysMatter(Long daysMatterId);

    Page<DaysMatter> pageDaysMatter(Integer page, Integer pageSize, Long userId);

    void updateDaysMatterById(DaysMatter daysMatter, Long daysMatterId);

    void deleteDaysMatterById(Long daysMatterId);

    List<DaysMatter> getAllDaysMatterlist();
}
